<ui:composition template="template1.xhtml"
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">

	<ui:define name="register">

	<h:form>

			<p:dataTable id="table" var="current" value="#{card.jList}" rows="10" paginator="true">
				<p:column headerText="Produkt Nummer">
					<h:outputText value="#{current.iProductNr}" />
				</p:column>

				<p:column headerText="Beschreibung">
					<h:outputText value="#{current.sProductTitle}" />
				</p:column>

				<p:column headerText="Anzahl">
					<h:outputText value="#{current.iQuantity}" />
				</p:column>

				<p:column headerText="Preis/Stueck">
					<h:outputText value="#{current.fPrice}" />
				</p:column>
			</p:dataTable>
		
		
		<h:commandButton value="Card" action="#{orderCtrl.order}"/>
		
	</h:form>
		
	</ui:define>	

</ui:composition>